The SVGAnimationElement interface is the base interface for all
of the animation element interfaces: SVGAnimateElement,
SVGSetElement, SVGAnimateColorElement,
SVGAnimateMotionElement and SVGAnimateTransformElement.
Operations |
void | - beginElement()
- Creates a begin instance time for the current time. The new instance
time is added to the begin instance times list. The behavior of this method is equivalent to beginElementAt(0).
|
void | - beginElementAt(float offset)
- Creates a begin instance time for the current time plus the specified
offset. The new instance time is added to the
begin instance times list. Parametersfloat offset The offset from the current document time, in seconds, at
which to begin the element.
|
void | - endElement()
- Creates an end instance time for the current time. The new instance time is added to the
end instance times list. The behavior of this method is equivalent to endElementAt(0).
|
void | - endElementAt(float offset)
- Creates a end instance time for the current time plus the specified
offset. The new instance time is added to the
end instance times list. Parametersfloat offset offset from the current document time, in seconds, at
which to end the element.
|
float | - getCurrentTime()
- Returns the current time in seconds relative to time zero for the given
time container. Returns The current time in seconds relative to time zero for the given
time container.
|
float | - getSimpleDuration()
- Returns the number of seconds for the simple duration for this animation. If the simple duration is undefined (e.g., the end time is indefinite),
then an exception is raised. Returns number of seconds for the simple duration for this animation. ExceptionsDOMException, code NOT_SUPPORTED_ERR The simple duration is not
determined on the given element.
|
float | - getStartTime()
- Returns the begin time, in seconds, for this animation element's current
interval, if it exists, regardless of whether the interval has begun yet. If there is no current interval, then a DOMException with code
INVALID_STATE_ERR is thrown. Returns The start time, in seconds, of this animation element's current
interval.
|
boolean | - hasExtension(DOMString extension)
- Returns true if the user agent supports the given extension, specified
by a URI. ParametersDOMString extension The name of the extension, expressed as a URI. Returns True or false, depending on whether the given extension is
supported.
|